package oop1;

/**
 * @author oldliu
 * @since 1.0
 */
//电池
public class Battery {
    String brand;
    int vol=1000;//容量默认是1000
    public void showBat(){
        System.out.println("这块电池牌子是"+brand+",容量是"+vol+"毫安");
    }
}
